<template>
  <div class="app">
    <h1>app</h1>
    <Child :msg="msg"></Child>
  </div>
</template>
<script>
import Child from './Child.vue';
export default {
  data() {
    return {
      msg: '父组件的数据',
    };
  },
  components: {
    Child,
  },
};
</script>
<style lang="scss" scoped></style>
